﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LeadTeam.Exam.Interafce;
using LeadTeam.Exam.Entities;

namespace LeadTeam.Exam.DbContext
{
    public class ExamManipulate:IExams
    {

         private DbContext dbContext = null;

         public ExamManipulate()
        {
            dbContext = new DbContext();
        }

        public List<Entities.Exams> GetList()
        {
             List<Exams> list = dbContext.Set<Exams>().ToList();
            return list;
        }
    }
}
